﻿namespace HuwmanCode.Samples.WindowsService

open System
open System.ComponentModel
open System.ServiceProcess
open HuwmanCode.ServiceProcess

[<Description("FSharp Windows Service 1")>] //If this is present is will be used for the service description
type FSharpWindowsService1() =
    inherit WindowsServiceBase() //No service name specified, defaulting to the qualified type name

    override x.OnStart(args) =
        ()

    override x.OnStop() =
        ()